home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / mcogamma.z / mcogamma
Text File  |  1998-10-20  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. mmmmccccooooggggaaaammmmmmmmaaaa((((1111GGGG))))                                                      mmmmccccooooggggaaaammmmmmmmaaaa((((1111GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      mcogamma - set gamma on MultiChannel Option channels
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      mmmmccccooooggggaaaammmmmmmmaaaa ----pppp#### ----cccc#### ----ffff<<<<ffffiiiilllleeeennnnaaaammmmeeee>>>>
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The _m_c_o_g_a_m_m_a command allows the setting of the gamma lookup table
  16.      directly for each output of the MultiChannel Option. This command affects
  17.      the MultiChannel Option only, and has no effect on the standard graphics
  18.      output.
  19.  
  20. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  21.      ----pppp  ppppiiiippppeeee####
  22.           Specify which graphics pipe number to use. In a machine with a
  23.           single graphics pipe, this must be set to zero.
  24.  
  25.      ----cccc  cccchhhhaaaannnnnnnneeeellll####
  26.           Specify which channel of the MCO to change; this must be a value
  27.           from zero to five.
  28.  
  29.      ----ffff  ffffiiiilllleeeennnnaaaammmmeeee
  30.           Specify the file which describes the gamma table. This must be a
  31.           text file of 1024 lines; each line has three integers from 0 to
  32.           1023, in ASCII format, separated by white space. The three integers
  33.           represent the red, green, and blue output intensities respectively,
  34.           for this entry.
  35.  
  36.           For instance, a file corresponding to a gamma of 1.0 would look like
  37.           this:
  38.           0 0 0
  39.           1 1 1
  40.           2 2 2
  41.           3 3 3
  42.           [... and so on ...]
  43.           1023 1023 1023
  44.  
  45.           If the above file was saved to disk as gammaone, then the command
  46.           mcogamma -p0 -c2 gammaone
  47.           would set the gamma of the main graphics pipe, MCO output number 2,
  48.           to 1.0.
  49.  
  50. HHHHAAAARRRRDDDDWWWWAAAARRRREEEE
  51.      _m_c_o_g_a_m_m_a works only on IRIS RealityEngine, RealityEngine2, and VTX
  52.      graphics equipped with the optional MultiChannel Option (MCO) hardware.
  53.  
  54. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  55.      gamma(6D), gammaramp(3G)
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. mmmmccccooooggggaaaammmmmmmmaaaa((((1111GGGG))))                                                      mmmmccccooooggggaaaammmmmmmmaaaa((((1111GGGG))))
  71.  
  72.  
  73.  
  74. NOTES
  75.      The normal gamma command, and the value in the file
  76.      /etc/config/system.glGammaVal, have no effect on the MCO output.
  77.  
  78.      MCO gamma reverts to the default whenever graphics is initialized.
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.